package com.neo.office.server.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;


@Data
@TableName(value = "t_mail_log")
@ApiModel(value="MailLog对象",description = "")
public class MailLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息id
     */
    @TableField(value = "msgId")
    @ApiModelProperty(value="消息id")
    private String msgId;

    /**
     * 接收员工id
     */
    @TableField(value = "eid")
    @ApiModelProperty(value="接收员工id")
    private Integer eid;

    /**
     * 状态（0:消息投递中 1:投递成功 2:投递失败）
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态（0:消息投递中 1:投递成功 2:投递失败）")
    private Integer status;

    /**
     * 路由键
     */
    @TableField(value = "routeKey")
    @ApiModelProperty(value="路由键")
    private String routeKey;

    /**
     * 交换机
     */
    @TableField(value = "exchange")
    @ApiModelProperty(value="交换机")
    private String exchange;

    /**
     * 重试次数
     */
    @TableField(value = "count")
    @ApiModelProperty(value="重试次数")
    private Integer count;

    /**
     * 重试时间
     */
    @TableField(value = "tryTime")
    @ApiModelProperty(value="重试时间")
    private LocalDateTime tryTime;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;

}